package com.example.logistics_oa.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.comment_oa.pojos.BelateMoney;
import com.example.logistics_oa.service.BelateMoneyService;
import com.example.logistics_oa.mapper.BelateMoneyMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 安徽彭于晏
* @description 针对表【belate_money】的数据库操作Service实现
* @createDate 2022-10-17 20:20:10
*/
@Service
public class BelateMoneyServiceImpl extends ServiceImpl<BelateMoneyMapper, BelateMoney>
    implements BelateMoneyService{

    @Autowired
    BelateMoneyMapper belateMoneyMapper;

    @Override
    public List<BelateMoney> selectBelate() {
        return belateMoneyMapper.selectBelate();
    }

    @Override
    public int updateJinYongFakuan(int blId) {
        return belateMoneyMapper.updateJinYongFakuan(blId);
    }

    @Override
    public int updateQiYongFakuan(int blId) {
        return belateMoneyMapper.updateQiYongFakuan(blId);
    }

    @Override
    public int updateMoney(Double blMoney, int blId) {
        return belateMoneyMapper.updateMoney(blMoney, blId);
    }

    @Override
    public List<BelateMoney> selectById() {
        return belateMoneyMapper.selectById();
    }

    @Override
    public List<BelateMoney> selectByIdChidaoAndZaotuiAndQuanqin(int blId) {
        return belateMoneyMapper.selectByIdChidaoAndZaotuiAndQuanqin(blId);
    }
}




